<?php 
error_reporting(0);
$isadmin=1;
include "../comm/config.php";
include "check.php";

$shopcj=SHOPCJ; 
$startlevel=SHOPCJS; 
$endlevel=SHOPCJE; 


?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理中心</title>
<link href="../comm/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
table,tr,td { font-size:12px;}
table a { text-decoration:none; color:#FF6600}
table a:visted { color:#FF66CC; text-decoration:none}
.STYLE1 {color: #FF3300}
-->
</style>
</head>
<body topmargin="5" leftmargin="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" >
  <tr>
    <td height="282" valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>
          <table cellspacing="0" width="100%" height="207" style="border:1px  solid #DCEAF7;">
            <tr>
              <td height="30" colspan="2" bgcolor="E9F2FB" class="bigtext"><strong>&nbsp;<img src="../images/arrow.gif" width="16" height="22" align="absmiddle" /> 店铺采集设置</strong></td>
            </tr>
            <tr>
              <td width="100%" colspan="2" valign="top"><table width="100%" height="300" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td valign="top"><form id="form1" name="form1" method="post" action="saveshopcj.php">
                    <br />
                    <table width="720"  align="center" border=1 cellpadding=0 cellspacing=0
style="border-collapse: collapse" bordercolor="#dddddd">
						<tr>
                        <td width="129" height="30" align="right" class="bigtext">店铺采集说明：</td>
                        <td width="597" height="30" class="bigtext">&nbsp;&nbsp;<span class="STYLE1">采集开关开启时，打开商品详细页或搜索店铺时就可采集店铺。</span>                          </td>
                      </tr>
					  <tr>
                        <td width="129" height="30" align="right" class="bigtext">店铺采集开关：</td>
                        <td width="597" height="30" class="bigtext">&nbsp;
                          <label>
                          <select name="shopcj">
                            <option value="1" <?php if($shopcj=="1") echo "selected";?>>开启</option>
                            <option value="0" <?php if($shopcj=="0") echo "selected";?>>关闭</option>
                          </select>
                          开启店铺采集后，如果商品列表页打开缓慢的话请关闭。</label></td>
                      </tr>
					  <tr>
                        <td width="129" height="30" align="right" class="bigtext">采集等级设置：</td>
                        <td height="30" class="bigtext">&nbsp;
                          <select name="shopcj_s" id="shopcj_s">
				  <option value="1"<?php if($startlevel=='1') echo ' selected';?>>一心</option>
				  <option value="2"<?php if($startlevel=='2') echo ' selected';?>>两心</option>
				  <option value="3"<?php if($startlevel=='3') echo ' selected';?>>三心</option>
				  <option value="4"<?php if($startlevel=='4') echo ' selected';?>>四心</option>
				  <option value="5"<?php if($startlevel=='5') echo ' selected';?>>五心</option>
				  <option value="6"<?php if($startlevel=='6') echo ' selected';?>>一钻</option>
				  <option value="7"<?php if($startlevel=='7') echo ' selected';?>>两钻</option>
				  <option value="8"<?php if($startlevel=='8') echo ' selected';?>>三钻</option>
				  <option value="9"<?php if($startlevel=='9') echo ' selected';?>>四钻</option>
				  <option value="10"<?php if($startlevel=='10') echo ' selected';?>>五钻</option>
				  <option value="11"<?php if($startlevel=='11') echo ' selected';?>>一冠</option>
				  <option value="12"<?php if($startlevel=='12') echo ' selected';?>>两冠</option>
				  <option value="13"<?php if($startlevel=='13') echo ' selected';?>>三冠</option>
				  <option value="14"<?php if($startlevel=='14') echo ' selected';?>>四冠</option>
				  <option value="15"<?php if($startlevel=='15') echo ' selected';?>>五冠</option>
				  <option value="16"<?php if($startlevel=='16') echo ' selected';?>>一金冠</option>
				  <option value="17"<?php if($startlevel=='17') echo ' selected';?>>二金冠</option>
				  <option value="18"<?php if($startlevel=='18') echo ' selected';?>>三金冠</option>
				  <option value="19"<?php if($startlevel=='19') echo ' selected';?>>四金冠</option>
				  <option value="20"<?php if($startlevel=='20') echo ' selected';?>>五金冠</option>
				</select>&nbsp;&nbsp;到&nbsp;&nbsp;<select name="shopcj_e" id="shopcj_e">				  
				  <option value="1"<?php if($endlevel=='1') echo ' selected';?>>一心</option>
				  <option value="2"<?php if($endlevel=='2') echo ' selected';?>>两心</option>
				  <option value="3"<?php if($endlevel=='3') echo ' selected';?>>三心</option>
				  <option value="4"<?php if($endlevel=='4') echo ' selected';?>>四心</option>
				  <option value="5"<?php if($endlevel=='5') echo ' selected';?>>五心</option>
				  <option value="6"<?php if($endlevel=='6') echo ' selected';?>>一钻</option>
				  <option value="7"<?php if($endlevel=='7') echo ' selected';?>>两钻</option>
				  <option value="8"<?php if($endlevel=='8') echo ' selected';?>>三钻</option>
				  <option value="9"<?php if($endlevel=='9') echo ' selected';?>>四钻</option>
				  <option value="10"<?php if($endlevel=='10') echo ' selected';?>>五钻</option>
				  <option value="11"<?php if($endlevel=='11') echo ' selected';?>>一冠</option>
				  <option value="12"<?php if($endlevel=='12') echo ' selected';?>>两冠</option>
				  <option value="13"<?php if($endlevel=='13') echo ' selected';?>>三冠</option>
				  <option value="14"<?php if($endlevel=='14') echo ' selected';?>>四冠</option>
				  <option value="15"<?php if($endlevel=='15') echo ' selected';?>>五冠</option>
				  <option value="16"<?php if($endlevel=='16') echo ' selected';?>>一金冠</option>
				  <option value="17"<?php if($endlevel=='17') echo ' selected';?>>二金冠</option>
				  <option value="18"<?php if($endlevel=='18') echo ' selected';?>>三金冠</option>
				  <option value="19"<?php if($endlevel=='19') echo ' selected';?>>四金冠</option>
				  <option value="20"<?php if($endlevel=='20') echo ' selected';?>>五金冠</option></select></td>
                      </tr>
                      <tr>
                        <td height="30" align="right">&nbsp;</td>
                        <td height="30" class="bigtext">&nbsp;
                          <input type="submit" name="Submit" value=" 保 存 设 置 " /> 
                          &nbsp;</td>
                      </tr>
                    </table> </form>
                   
                   <form id="form1" name="form1" method="post" action="delshops.php">
                    <br />
                    <table width="720"  align="center" border=1 cellpadding=0 cellspacing=0
style="border-collapse: collapse" bordercolor="#dddddd">
						
					  
					  <tr>
                        <td width="129" height="30" align="right" class="bigtext">删除等级设置：</td>
                        <td height="30" class="bigtext">&nbsp;
                          <select name="startlevel" id="startlevel">
				  <option value="1">一心</option>
				  <option value="2">两心</option>
				  <option value="3">三心</option>
				  <option value="4">四心</option>
				  <option value="5">五心</option>
				  <option value="6">一钻</option>
				  <option value="7">两钻</option>
				  <option value="8">三钻</option>
				  <option value="9">四钻</option>
				  <option value="10">五钻</option>
				  <option value="11">一冠</option>
				  <option value="12">两冠</option>
				  <option value="13">三冠</option>
				  <option value="14">四冠</option>
				  <option value="15">五冠</option>
				  <option value="16">一金冠</option>
				  <option value="17">二金冠</option>
				  <option value="18">三金冠</option>
				  <option value="19">四金冠</option>
				  <option value="20">五金冠</option>
				</select>&nbsp;&nbsp;到&nbsp;&nbsp;<select name="endlevel" id="endlevel">				  
				  <option value="1">一心</option>
				  <option value="2">两心</option>
				  <option value="3">三心</option>
				  <option value="4">四心</option>
				  <option value="5">五心</option>
				  <option value="6">一钻</option>
				  <option value="7">两钻</option>
				  <option value="8">三钻</option>
				  <option value="9">四钻</option>
				  <option value="10">五钻</option>
				  <option value="11">一冠</option>
				  <option value="12">两冠</option>
				  <option value="13">三冠</option>
				  <option value="14">四冠</option>
				  <option value="15">五冠</option>
				  <option value="16">一金冠</option>
				  <option value="17">二金冠</option>
				  <option value="18">三金冠</option>
				  <option value="19">四金冠</option>
				  <option value="20">五金冠</option></select></td>
                      </tr>
                      <tr>
                        <td height="30" align="right">&nbsp;</td>
                        <td height="30" class="bigtext">&nbsp;
                          <input type="submit" name="Submit" value=" 删 除 店 铺 " /> 
                          &nbsp;</td>
                      </tr>
                    </table> </form>
                   
                  </td>
                </tr>
              </table></td>
            </tr>
          </table></td>
        </tr>
      
    </table></td>
  </tr>
</table>
</body>
</html>
<?php mysql_close($link);?>
